<template>
  <div>

    {{mydata.data}}
    

   
  </div>
</template>

<script lang="ts">
import request from "@/api/api"
import {reactive} from "vue"
import {getdata} from "@/hooks/com"



export default {
  setup(){
    //  const obj = {data:{}};
    //  const mydata = reactive(obj);
   
  
    //  const getdata = ()=>{
     
    //   request.post("/api/buddy/device/equipment/strategyinfo", {}).then((res)=>{
    //     mydata.data = res;
       
    //   });
      
    // }
    const {mydata} = getdata("/api/buddy/device/equipment/strategyinfo")
    return {mydata}
   


  }
}
</script>
